package com.homework;

class person {
    String name;
    double height;
    int age;

    public void sayHello() {
        System.out.println("hello,my name is " + name);
        System.out.println("my height is " + height);
        System.out.println("my age is " + age);

    }

    public static void main(String[] args) {
        person x1 = new person();
        x1.name = "zhangsan";
        x1.age = 33;
        x1.height = 1.73;
        x1.sayHello();

        person x2 = new person();
        x2.name = "lisi";
        x2.age = 44;
        x2.height = 1.74;
        x2.sayHello();

    }
}

